from typing import TypeVarTuple
from typing import Generic
from typing import Tuple

Shape = TypeVarTuple("Shape")


class Array(Generic[*Shape]):
    def __init__(self, shape: Tuple[Sh<caret>ape]) -> None:
        self.shape = shape